{% extends "base/base.html" %}

{% block title %}杨学峰博客 | 文章归档 {% endblock %}

{% block content %}
<div class="col-md-9">
  <div class="blog-post">
    <div class="blog-post-wrapper">
      <div class="blog-post__title">
        <h1 style="padding:30px 0;">Archives</h1>
      </div>

      {% for key,value in archive.items %}
        <div class="archive">
          <div id="archives">
            <h3 class='al_year'>{{ key.year }}年{{ key.month }}月</h3>
            <ul class="al_month_list">
              {% for i in value %}
                <li>
                  <a href="{{ i.get_absolute_url }}">
                    <span>{{ i.publish_time.month }}月{{ i.publish_time.day }}日</span>&nbsp;&nbsp;
                    <span class="liaspan" style="left:140px;">{{ i }}</span>
                  </a>
                </li>
              {% endfor %}
            </ul>
          </div>
        </div>
      {% endfor %}
      <div style="height: 50px;"></div>
    </div>
  </div>
</div>
{% endblock %}

{% block js %}

{% endblock %}
